﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace ContractManagermentSystem.Entity
{
    public class Contractor
    {
        public Contractor() { }

        public Contractor(Guid contractorId, string accountId, string username, string password, string fullName, string phoneNumber1, string phoneNumber2, string gender, bool isActive, string branch, string sortCode)
        {
            ContractorId = contractorId;
            AccountId = accountId;
            Username = username;
            Password = password;
            FullName = fullName;
            PhoneNumber1 = phoneNumber1;
            PhoneNumber2 = phoneNumber2;
            Gender = gender;
            IsActive = isActive;
            Branch = branch;
            SortCode = sortCode;
        }

        public Guid ContractorId { get; set; }

        public string AccountId { get; set; }

        public string Username { get; set; }

        public string Password { get; set; }

        public string FullName { get; set; }

        public string PhoneNumber1 { get; set; }

        public string PhoneNumber2 { get; set; }

        public string Gender { get; set; }

        public bool IsActive { get; set; }

        public string Branch { get; set; }

        public string SortCode { get; set; }

    }
}
